package com.mine.modules.vm.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.mine.common.domain.vo.Result;
import com.mine.modules.vm.domain.query.ActionByLayerQuery;
import com.mine.modules.vm.domain.query.LayerActionQuery;
import com.mine.modules.vm.entity.VmLayerAction;
import com.mine.modules.vm.entity.VmLayerActionInfo;

/**
 * <p>
 * 场景菜单 服务类
 * </p>
 *
 * @author xujf
 * @since 2024-10-21
 */
public interface IVmLayerActionService extends IService<VmLayerAction> {

    Result<?> actionList(LayerActionQuery layerActionQuery);

    Result<?> actionInfoList(String actionId, String keywords);

    Result<?> addOrEditAction(VmLayerAction vmLayerAction);

    Result<?> addOrEditActionInfo(VmLayerActionInfo vmLayerActionInfo);

    Result<?> deleteAction(String id);

    Result<?> deleteBatchAction(String ids);

    Result<?> deleteActionInfo(String id);

    Result<?> deleteBatchActionInfo(String ids);

    Result<?> getActionByLayerId(ActionByLayerQuery query);

    void copyActionByLayerId(String layerId, String targetParentId);

}
